package com.example.pojo.user;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;


@Data
@Document
public class User_Item {
    @Id
    private String id;
    @Indexed
    Integer usrID;
    @Indexed
    String username;
    //    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    String readStartTime;
    String timer;
    boolean isLike;
    boolean isRead;
    boolean isCollect;
    boolean isComment;
    String category;
    @Indexed
    String item_name;

}
